<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
include('base.php');
class Welcome extends Base 
{

	public function __construct()
	{
		$this->table_name = 'admin_panel';
		$this->template = 'default/'; // 模板文件目录
		parent::__construct();
	}
	public function index()
	{
		
		$data['seo'] = $this->site['site'][0];
		$data['lanmu'] = $this->site['lanmu'];
		$data['category_type'] = $this->site['category_type'];
		$this->load->view($this->template.'header',$data);
		$this->load->view($this->template.'index');
		$this->load->view($this->template.'footer');
		//print_r($this->site['site']);
	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */